<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/background_bottom_dialog">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:paddingHorizontal="@dimen/_10sdp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_marginTop="@dimen/_10sdp">

            <TextView
                android:id="@+id/tvName"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/_14sdp"
                android:fontFamily="@font/inter_semibold"
                android:text="Тц Авангард"
                android:textColor="?attr/main_text_color"
                android:textSize="@dimen/_15sdp" />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_weight="1" />
            <ImageButton
                android:id="@+id/btClose"
                android:layout_width="@dimen/_20sdp"
                android:layout_height="@dimen/_20sdp"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/_10sdp"
                android:background="@drawable/icon_close" />
        </LinearLayout>

        <TextView
            android:id="@+id/tvDescription"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="@dimen/_4sdp"
            android:layout_marginTop="@dimen/_10sdp"
            android:paddingStart="@dimen/_10sdp"
            android:textSize="@dimen/_10sdp"
            android:text="Вьезд с первой парковой, парковка распологается под открытым небом, в три ряда. Парковка классна тем то тем, и еще и прикольная туда сюда"
            android:fontFamily="@font/inter"
            android:textColor="?attr/main_text_color" />

        <TextView
            android:id="@+id/tvCountPlace"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/_20sdp"
            android:text="30 из 99 машин"
            android:textColor="?attr/main_text_color"
            android:paddingStart="@dimen/_10sdp"
            android:textAlignment="textStart"
            android:textSize="@dimen/_13ssp" />

        <ImageView
            android:id="@+id/btToPark"
            android:layout_width="@dimen/_100sdp"
            android:layout_height="@dimen/_50sdp"
            android:layout_marginTop="@dimen/_8sdp"
            android:layout_gravity="center"
            android:background="@drawable/button_model_parking" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/_20sdp"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/_8sdp"
                android:fontFamily="@font/inter_semibold"
                android:text="Цена: "
                android:textColor="?attr/main_text_color"
                android:textSize="@dimen/_13sdp" />

            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_weight="1" />

            <TextView
                android:id="@+id/tvPrice"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/_10sdp"
                android:gravity="right"
                android:text="300 руб/час"
                android:textColor="?attr/main_text_color"
                android:textSize="@dimen/_12sdp"
                android:textStyle="bold" />
        </LinearLayout>

        <androidx.cardview.widget.CardView
            android:layout_width="@dimen/_200sdp"
            android:layout_height="@dimen/_40sdp"
            android:layout_marginHorizontal="@dimen/_40sdp"
            android:layout_marginBottom="25dp"
            android:layout_gravity="center"
            android:layout_marginTop="@dimen/_30sdp"
            android:background="@android:color/transparent"
            android:outlineSpotShadowColor="@color/purple"
            app:cardCornerRadius="15dp"
            app:cardElevation="15dp">

            <androidx.appcompat.widget.AppCompatButton
                android:id="@+id/btPark"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/background_button_ripple"
                android:text="Выбрать"
                android:textAllCaps="false"
                android:textColor="@color/white"
                app:cornerRadius="@dimen/_15sdp" />

        </androidx.cardview.widget.CardView>

        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/_20sdp"/>

    </LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>